// 打印顶部内容模板
export const getTopHtml = (param) => {
  return `

  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

  <title></title>
  <meta name="generator" content="LibreOffice 5.4.7.2 (Linux)"/>
  <meta name="author" content="samwuu"/>
  <meta name="created" content="2013-04-30T14:00:15"/>
  <meta name="changedby" content="SamWuu"/>
  <meta name="changed" content="2021-06-11T03:21:01"/>
  <meta name="Company" content="rate"/>
  <meta name="ICV" content="EC89AAC0EB534F5BB4CBFC95F1EB5777"/>
  <meta name="KSOProductBuildVer" content="2052-11.1.0.10495"/>

  <style type="text/css">
    body, div, table, thead, tbody, tfoot, tr, th, td, p {
      font-family: "SimSun"
    }

    a.comment-indicator:hover + comment {
      background: #ffd;
      position: absolute;
      display: block;
      border: 1px solid black;
      padding: 0.5em;
    }

    a.comment-indicator {
      background: red;
      display: inline-block;
      border: 1px solid black;
      width: 0.5em;
      height: 0.5em;
    }

    comment {
      display: none;
    }

    .borderAll {
      border-top: 1px solid #000000;
      border-bottom: 1px solid #000000;
      border-left: 1px solid #000000;
      border-right: 1px solid #000000;
  text-align:center
    }
  </style>

</head>

<body>
<table cellspacing="0" border="0"  >
   	<colgroup width="80"></colgroup>
   <colgroup span="2" width="120"></colgroup>
   <colgroup span="2" width="120"></colgroup>
   	<colgroup width="100"></colgroup>
   	<colgroup width="100"></colgroup>
   	<colgroup width="100"></colgroup>
   <colgroup span="2" width="120"></colgroup>
      <colgroup span="2" width="120"></colgroup>
  <tr>
    <td colspan=12 height="50"  style="font-weight:bold;text-align:center"><font face="SimSun" size=6>
    名朗五金制品有限公司 <b style="font-weight:bold">进仓单</b>
    </td>
  </tr>
  <tr>
    <td colspan=6 height="23" align="left" ></td>
    <td align="right" ><font face="Adobe 仿宋 Std R" size=5>№:</font></td>
    <td><font face="Adobe 宋体 Std L" size=4 color="#FF0000">${param.form.code}</font></td>
  </tr>
  <tr>
    <td colspan=5 height="24"  >供应商:${param.form.supply}</td>
    <td colspan=1 align="left" ></td>
    <td align="right" >日期:</td>
    <td colspan=2 >${param.form.updateTime}</td>

  </tr>
  <tr style="font-weight:bold">
    <td class="borderAll" height="25"  >序号</td>
    <td class="borderAll" colspan=2  >物品名称</td>
    <td class="borderAll" colspan=2  >规格型号</td>
    <td class="borderAll"  >数量</td>
    <td class="borderAll"  >单位</td>
     <td class="borderAll"  >单价</td>
    <td class="borderAll" colspan=2 >金额</td>
    <td class="borderAll" colspan=2  >备注</td>
  </tr>
 ${param.itemList}


  <tr>
    <td class="borderAll" colspan=12 height="40"  > 1.存根(白) 2.采购(红)</td>
  </tr>
  <tr>
     <td colspan=3 height="50" align="left" >负责人：</td>
    <td colspan=3>记账：</td>
    <td colspan=3>验收：</td>
    <td colspan=3>仓管：</td>
  </tr>
</table>
<!-- ************************************************************************** -->
</body>

</html>

        `
}

